package com.yjf.ljr.dataclass;

import java.io.Serializable;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.List;

import com.google.gson.JsonArray;
import com.google.gson.annotations.Expose;
import com.yjf.ljr.parser.DataClass;

public class BorrowingDetailDataClass extends DataClass {

	@Expose
	public String userType;// 借款人类型
	@Expose
	public DemandInfoData list;
	@Expose
	public ArrayList<String> certUrl;

	@Override
	public boolean copy(DataClass valueClass) {
		if (valueClass == null || !(valueClass instanceof BorrowingDetailDataClass)) {
			return false;
		}
		this.code = ((BorrowingDetailDataClass) valueClass).code;
		this.msg = ((BorrowingDetailDataClass) valueClass).msg;
		this.list = ((BorrowingDetailDataClass) valueClass).list;
		this.certUrl = ((BorrowingDetailDataClass) valueClass).certUrl;
		this.userType = ((BorrowingDetailDataClass) valueClass).userType;

		return true;
	}

	public static class DemandInfoData implements Serializable {

		private static final long serialVersionUID = 1L;
		@Expose
		public String loanerUserName;// 用户名
		@Expose
		public String gender;// 性别
		@Expose
		public String age;// 年龄
		@Expose
		public String education;// 文化程度
		@Expose
		public String married;// 是否结婚
		@Expose
		public String haveChild;// 是否有小孩
		@Expose
		public String householdRegister;// 户籍
		@Expose
		public String haveHouse;// 是否有房
		@Expose
		public String haveCar;// 是否有车
		@Expose
		public String salaryLevel;// 薪资水平
		@Expose
		public String otherLoans;// 其他贷款
		@Expose
		public String otherAssets;// 其他资产
		@Expose
		public String certUrl;// 证件图片

		@Expose
		public String showLoanerUserName;// 用户名 无掩盖

		@Expose
		public String resume;// 摘要
		@Expose
		public String profession;// 职业
		@Expose
		public String houseArea;// 房屋面积
		@Expose
		public String houseValue;// 房屋估值
		@Expose
		public String carNumber;// 车牌号码
		@Expose
		public String carValue;// 车辆估值
		@Expose
		public String houseMortgage;// 房产抵押
		@Expose
		public String carMortgage;// 车产抵押
		@Expose
		public String otherInfo;// 其他信息
		@Expose
		public String isAuthentication;// 审核身份证
		@Expose
		public String isAuditAccount;// 审核户口本
		@Expose
		public String isAuditMarriage;// 审核结婚证
		@Expose
		public String isAuditHouseContract;// 审核购房合同/房产证
		@Expose
		public String isAuditMortgage;// 审核抵押手续
		@Expose
		public String isAuditIncome;// 审核收入证明
		@Expose
		public String isAuditCredit;// 审核信用报告

		@Expose
		public String info4;// 企业介绍
		@Expose
		public String info5;// 经营范围
		@Expose
		public String info6;// 经营状况

		@Expose
		public String info1;// 职务
		@Expose
		public String info2;// 公司性质

	}

}
